//
//  BSTabBarModel.m
//  BaiSiBuDeJie
//
//  Created by 蔡一凡 on 8/22/16.
//  Copyright © 2016 tsaievan. All rights reserved.
//

#import "BSTabBarModel.h"

@implementation BSTabBarModel

+ (NSArray *)tabBarModels {
    //根据mainBundle下的plist文件名转成模型数组
    return [self mj_objectArrayWithFilename:@"tabBar.plist"];
}

+(instancetype)tabWithNormalImage:(NSString *)normalImage andSelectedImage:(NSString *)selectedImage andTitle:(NSString *)title{
    BSTabBarModel *tab = [[BSTabBarModel alloc] init];
    
    tab.selectedImage = selectedImage;
    
    tab.normalImage =normalImage;
    
    tab.title = title;
    
    return tab;
    
}

@end
